// 引入二次封装后的request对象
import request from '@/utils/request.js'

// 定义请求所有科室的api
export const reqDept = () => request.get('/medical/dept/selectAll')


// 获取科室门诊信息
export const selectDeptAndSub = () => request.get('/medical/dept/selectDeptAndSub')


// 分页显示科室信息接口api
export const selectDeptInfo = (data) => request.post('/medical/dept/selectConditionByPage',data)